home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / dmedia / aifccompress.z / aifccompress
Text File  |  1998-10-30  |  10KB  |  265 lines

  1.  
  2.  
  3.  
  4. aaaaiiiiffffccccccccoooommmmpppprrrreeeessssssss((((1111))))                                                aaaaiiiiffffccccccccoooommmmpppprrrreeeessssssss((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      aifccompress - compress the audio data in an AIFF-C file
  10.  
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      aifccompress [-v] [-c algorithm] [options] infile.aifc outfile.aifc
  14.  
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      _a_i_f_c_c_o_m_p_r_e_s_s is a command-line program which reads an AIFF-C digital
  18.      audio input file, and copies the header information and sample data to a
  19.      compressed AIFF-C digital audio output file.
  20.  
  21.  
  22.      The output file will contain copies of all the AIFF-C chunks in the
  23.      original input file. The chunks may not appear in exactly the same order
  24.      as in the original file.
  25.  
  26.  
  27.      _a_i_f_f_c_c_o_m_p_r_e_s_s offers compression algorithms which are supported by the
  28.      SGI audio file library.  They are selected with the ----cccc option.  Be sure
  29.      to audition to the results before deleting the original sound file.  Note
  30.      that a signal will degrade with each compression/decompression cycle.
  31.  
  32.      Sound files may have already been subjected to multiple lossy
  33.      compressions before they reach your hands.  Your next compression may
  34.      degrade the signal intolerably.  Keep in mind that signal processing
  35.      operations such as frequency equalization and reverberation that modify
  36.      frequency or phase characteristics may expose the previously masked
  37.      (inaudible) heavily quantized portions of the compressed signal when the
  38.      significant but mildly quantized portions of the signal are removed or
  39.      relatively attenuated.
  40.  
  41.  
  42.      nnnnoooonnnneeee      No compression.  This is the default.
  43.  
  44.  
  45.      gggg777722222222      CCITT G.722 ADPCM 4:1 compression recommended for 16-kHz, 16-
  46.                bit mono or stereo data.  The compression algorithm currently
  47.                cannot handle more than two channels.  _T_h_i_s _a_l_g_o_r_i_t_h_m _i_s _l_o_s_s_y.
  48.  
  49.  
  50.      uuuullllaaaawwww      CCITT G.711 mu-law 2:1 compression recommended for 8-kHz, 16-
  51.                bit (mono or multichannel) data.  _T_h_i_s _a_l_g_o_r_i_t_h_m _i_s _l_o_s_s_y.
  52.  
  53.  
  54.      aaaallllaaaawwww      CCITT G.711 A-law 2:1 compression recommended for 8-kHz, 16-bit
  55.                (mono or multichannel) data.  _T_h_i_s _a_l_g_o_r_i_t_h_m _i_s _l_o_s_s_y.
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. aaaaiiiiffffccccccccoooommmmpppprrrreeeessssssss((((1111))))                                                aaaaiiiiffffccccccccoooommmmpppprrrreeeessssssss((((1111))))
  71.  
  72.  
  73.  
  74.      aaaawwwwmmmmppppeeeegggg1111   MPEG-1 audio layer 1. Supports single or dual channel 16-bit
  75.                input at 32 kHz, 44.1 kHz, or 48 kHz.  _T_h_i_s _a_l_g_o_r_i_t_h_m _i_s _l_o_s_s_y.
  76.  
  77.  
  78.      aaaawwwwmmmmppppeeeegggg2222   MPEG-1 audio layer 2. Supports single or dual channel 16-bit
  79.                input at 32 kHz, 44.1 kHz, or 48 kHz.  _T_h_i_s _a_l_g_o_r_i_t_h_m _i_s _l_o_s_s_y.
  80.  
  81.  
  82.      aaaawwwwmmmmuuuullllttttiiii   Aware MultiRate near-lossless compression typically yielding
  83.                compression ratios from 2:1 to 4:1.  Supported for single or
  84.                dual channel, 16 bit input at 8, 11.025, 16, 22.05, 32, 44.1,
  85.                or 48 kHz.  _T_h_i_s _a_l_g_o_r_i_t_h_m _i_s _l_o_s_s_y.
  86.  
  87.  
  88.      aaaawwwwllllssssllllssss    Aware MultiRate true lossless compression typically yielding
  89.                compression ratios from 1.5:1 to 3:1.  Supported for single or
  90.                dual channel, 16 bit input at 8, 11.025, 16, 22.05, 32, 44.1,
  91.                or 48 kHz.  _T_h_i_s _a_l_g_o_r_i_t_h_m _i_s _l_o_s_s_l_e_s_s.
  92.  
  93.  
  94.  
  95.      The MPEG and Aware MultiRate algorithms take the following additional
  96.      options:
  97.  
  98.           ----aaaawwww____cccchhhhaaaannnnppppoooollll
  99.                chooses how multiple channels should be treated:
  100.  
  101.                sssstttteeeerrrreeeeoooo (default for MultiRate)
  102.                     indicates that the channels are part of a single multi-
  103.                     channel signal.  This includes 4-channel, etc.;
  104.  
  105.                jjjjooooiiiinnnntttt (default for MPEG)
  106.                     indicates that the algorithm may attempt to exploit
  107.                     redundancy between channels for greater coding gain; Not
  108.                     valid for MultiRate.
  109.  
  110.                iiiinnnnddddeeeepppp
  111.                     indicates that the separate channels are unrelated and
  112.                     should be processed separately, such as multilingual sound
  113.                     tracks.
  114.  
  115.                Note that all of these settings are equivalent for single
  116.                channel input.
  117.  
  118.           ----aaaawwww____ttttaaaarrrrgggg
  119.                specifies the desired bitrate for all channels of compressed
  120.                data, in bits per second.  The following is a list of valid
  121.                bitrates for MPEG.
  122.  
  123.                Layer 1:
  124.                     32000, 64000, 96000, 128000, 160000, 192000, 224000,
  125.                     256000, 288000, 320000, 352000, 384000, 416000, and
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. aaaaiiiiffffccccccccoooommmmpppprrrreeeessssssss((((1111))))                                                aaaaiiiiffffccccccccoooommmmpppprrrreeeessssssss((((1111))))
  137.  
  138.  
  139.  
  140.                     448000.
  141.  
  142.                Layer 2:
  143.                     32000, 48000, 56000, 64000, 80000, 96000, 112000, 128000,
  144.                     160000, 192000, 224000, 256000, 320000, and 384000.
  145.  
  146.           Default value is 192 kbps / channel for layer 1 and 128 kbps /
  147.           channel for layer 2.  This parameter is not used for Aware's
  148.           MultiRate algorithm.
  149.  
  150.           ----aaaawwww____bbbbiiiittttppppoooollll
  151.                Provides for different modes of bit assignment:  The valid
  152.                values depend on the algorithm, as indicated below.
  153.  
  154.                MPEG:
  155.  
  156.                     ffffiiiixxxxeeeedddd (default)
  157.                          Fixed bitrate per second.
  158.                          The Compression ratio is determined by value of
  159.                          ----aaaawwww____ttttaaaarrrrgggg.
  160.  
  161.                     ccccoooonnnnssssttttqqqquuuuaaaallll
  162.                          Bitrate is driven by the psychoacoustic model.
  163.                          Enough bits are assigned so that a constant Mask to
  164.                          Noise ratio is attained.  See ----aaaawwww____nnnnmmmmrrrr.
  165.  
  166.                Aware MultiRate:
  167.  
  168.                     ccccoooonnnnssssttttqqqquuuuaaaallll
  169.                          Enough bits are assigned so that the signal is 90+ dB
  170.                          above the quantization noise.
  171.                          Compression ratios are typically between 2.5:1 and
  172.                          4:1.
  173.  
  174.                     lllloooosssssssslllleeeessssssss
  175.                          Enough bits are assigned to provide for perfect
  176.                          reconstruction.
  177.                          Compression ratios are typically between 2:1 and 3:1.
  178.  
  179.           ----aaaawwww____nnnnmmmmrrrr
  180.                Not used in the Aware MultiRrate algorithm.  For MPEG with ----
  181.                aaaawwww____bbbbiiiittttppppoooollll ccccoooonnnnssssttttqqqquuuuaaaallll sets the constant quality mode noise-to-
  182.                mask ratio in dB.  Zero yields a theoretic psychoacoustic
  183.                imperceptible compression.  Positive values provide more
  184.                compression and noise becomes audible.  Negative values cause
  185.                less compression and less perceptible noise.
  186.  
  187.  
  188.  
  189.      with no errors, _a_i_f_c_c_o_m_p_r_e_s_s returns 0. If there is an error,
  190.      _a_i_f_c_c_o_m_p_r_e_s_s returns 1.
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. aaaaiiiiffffccccccccoooommmmpppprrrreeeessssssss((((1111))))                                                aaaaiiiiffffccccccccoooommmmpppprrrreeeessssssss((((1111))))
  203.  
  204.  
  205.  
  206.      If invoked with no arguments, _a_i_f_c_c_o_m_p_r_e_s_s displays help.
  207.  
  208.  
  209.      If the ----vvvv verbose option is specified, _a_i_f_c_c_o_m_p_r_e_s_s periodically prints
  210.      messages as sample data is copied from the input file to the output file.
  211.  
  212.  
  213.      The AIFF and AIFF-C file format specifications are published by Apple
  214.      Computer Inc.
  215.  
  216.  
  217. AAAAUUUUTTTTHHHHOOOORRRR
  218.      Silicon Graphics Inc.
  219.  
  220.  
  221. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  222.      playaifc(1), recordaifc(1),
  223.      aiff2aifc(1), aifcdecompress(1), aifcresample(1),
  224.      dmconvert(1), mediaconvert(1),
  225.      MPEG(4), Aware(5)
  226.      AIFF-C File Format Specification
  227.      AFintro(3A), Introduction to the Audio File Library
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.                                                                         PPPPaaaaggggeeee 4444
  262.  
  263.  
  264.  
  265.